/**
* ...
* @author Default
* @version 0.1
*/

package org.anivision.document {
	import org.anivision.forms.BaseViewer;
	import org.aswing.Component;

	public class Document {
		
		public static const DOC_MESH		= 'static_mesh_document';
		public static const DOC_ANIMMESH	= 'animated_mesh_document';
		public static const DOC_MAP			= 'map_document';
		
		protected var d_fileName:String = 'UNKNOWN';
		protected var d_filePath:String;
		
		public function Document() {
			
		}
		
		/**
		 * Returns an aswing component that visualizes this document.
		 * NOTE: This property is meant to be overriden by the class extenders.
		 * 
		 * @return org.aswing.Component
		 */
		public function get componentView():BaseViewer {
			return null;
		}
		
		public function get fileName():String {
			return d_fileName;
		}
		
		public function get filePath():String {
			return d_filePath;
		}
		
		public function get viewPrefix():String {
			return '';
		}
		
	}
	
}
